<?php
$this->breadcrumbs=array(
    Yii::t('site','Projects'),
);

$this->menu=array(
    array('label'=>Yii::t('site','Create New Project'), 'url'=>array('create')),
    array('label'=>Yii::t('site','Manage Projects'), 'url'=>array('admin')),
);
?>

<h1><?php echo Yii::app()->user->isGuest ? CHtml::encode(Yii::t('site','Public Projects')) : CHtml::encode(Yii::t('site','All Projects')); ?></h1>

<?php $this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$model->search(),
    'itemView'=>'/project/_view',
)); ?>
